 /*  SAS Data Definition File */
 /*  Created by ddltox on Nov 04, 2009  (Wed 11:07 AM PST) */
 /*  DDL source file: "pp01/pp0101.ddl". */

/* DDL indicates that dataset record length (reclen) is 129 columns. */

TITLE "The Pacific Poll 01-1";
FILENAME INDATA "    ";    /* Put name of data file between quotes */
LIBNAME LIBRARY "    ";    /* Put directory of data library between quotes */

PROC  FORMAT LIB=LIBRARY;
  VALUE langint   1='ENGLISH' 2='SPANISH' ;
  VALUE impsch    1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE relcong   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE affhous   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE enrgcon   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE fgtcrim   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE newarpt   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE illimmg   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE ethnrel   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE crtjobs   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE hthcare   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE beaches   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE growth    1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE relwmex   1='NOT TOO HIGH PRIORITY' 2='SOMEWHAT HIGH PRIORITY' 
                  3='VERY HIGH PRIORITY' 4='TOP PRIORITY' 8='DK' 9='REF' ;
  VALUE idsupes   0='NO, NEVER HEARD OF' 1='YES, HEARD OF' 8='NO RESPONSE' ;
  VALUE fvsupes   1='STRONGLY UNFAVORABLE' 2='SOMEWHAT UNFAVORABLE' 
                  3='SOMEWHAT FAVORABLE' 4='STRONGLY FAVORABLE' 8='DK' 
                  9='REF' 99='MISSING' ;
  VALUE iddavis   0='NO, NEVER HEARD OF' 1='YES, HEARD OF' 8='NO RESPONSE' ;
  VALUE fvdavis   1='STRONGLY UNFAVORABLE' 2='SOMEWHAT UNFAVORABLE' 
                  3='SOMEWHAT FAVORABLE' 4='STRONGLY FAVORABLE' 8='DK' 
                  9='REF' 99='MISSING' ;
  VALUE idsdge    0='NO, NEVER HEARD OF' 1='YES, HEARD OF' 8='NO RESPONSE' ;
  VALUE fvsdge    1='STRONGLY UNFAVORABLE' 2='SOMEWHAT UNFAVORABLE' 
                  3='SOMEWHAT FAVORABLE' 4='STRONGLY FAVORABLE' 8='DK' 
                  9='REF' 99='MISSING' ;
  VALUE idcpuc    0='NO, NEVER HEARD OF' 1='YES, HEARD OF' 8='NO RESPONSE' ;
  VALUE fvcpuc    1='STRONGLY UNFAVORABLE' 2='SOMEWHAT UNFAVORABLE' 
                  3='SOMEWHAT FAVORABLE' 4='STRONGLY FAVORABLE' 8='DK' 
                  9='REF' 99='MISSING' ;
  VALUE idedsn    0='NO, NEVER HEARD OF' 1='YES, HEARD OF' 8='NO RESPONSE' ;
  VALUE fvedsn    1='STRONGLY UNFAVORABLE' 2='SOMEWHAT UNFAVORABLE' 
                  3='SOMEWHAT FAVORABLE' 4='STRONGLY FAVORABLE' 8='DK' 
                  9='REF' 99='MISSING' ;
  VALUE idfox     0='NO, NEVER HEARD OF' 1='YES, HEARD OF' 8='NO RESPONSE' ;
  VALUE fvfox     1='STRONGLY UNFAVORABLE' 2='SOMEWHAT UNFAVORABLE' 
                  3='SOMEWHAT FAVORABLE' 4='STRONGLY FAVORABLE' 8='DK' 
                  9='REF' 99='MISSING' ;
  VALUE trstelt   1='NOT AT ALL' 2='A LITTLE' 3='SOME' 4='A LOT' 8='DK' 
                  9='REF' ;
  VALUE trstelx   1='NOT AT ALL' 2='A LITTLE' 3='SOME' 4='A LOT' 8='DK' 
                  9='REF' ;
  VALUE trstpln   1='NOT AT ALL' 2='A LITTLE' 3='SOME' 4='A LOT' 8='DK' 
                  9='REF' ;
  VALUE trstbgt   1='NOT AT ALL' 2='A LITTLE' 3='SOME' 4='A LOT' 8='DK' 
                  9='REF' ;
  VALUE bdrsupp   1='OPPOSE STRONGLY' 2='OPPOSE SOMEWHAT' 
                  3='SUPPORT SOMEWHAT' 4='SUPPORT STRONGLY' 8='DK' 9='REF' ;
  VALUE bdrben    1='BAD FOR BOTH COUNTRIES' 2='BENEFIT BOTH' 
                  3='BENEFIT MEXICO' 4='BENEFIT THE UNITED STATES' 8='DK' 
                  9='REF' ;
  VALUE bdrecon   1='VERY BAD' 2='SOMEWHAT BAD' 3='SOMEWHAT GOOD' 
                  4='VERY GOOD' 8='DK' 9='REF' ;
  VALUE engwrry   1='NOT WORRIED AT ALL' 2='NOT TOO WORRIED' 
                  3='SOMEWHAT WORRIED' 4='VERY WORRIED' 5='EXTREMELY WORRIED' 
                  8='DK' 9='REF' ;
  VALUE engresp   0='SOMEONE ELSE (VOLUNTEERED RESPONSE - DO' 
                  1='ENERGY PRODUCERS AND POWER GENERATORS, W' 
                  2='THE STATE PUBLIC UTILITIES COMMISSION, O' 
                  3='THE UTILITY COMPANIES, SUCH AS EDISON AN' 
                  4='THE STATE LEGISLATURE,' 5='LOCAL RESIDENTS,' 
                  6='GOVERNOR GRAY DAVIS,' 8='DK' 9='REF' ;
  VALUE engdebt   1='NOT A SERIOUS PROBLEM AT ALL?' 2='NOT TOO SERIOUS' 
                  3='SOMEWHAT SERIOUS' 4='VERY SERIOUS' 5='EXTREMELY SERIOUS' 
                  8='DK' 9='REF' ;
  VALUE engdsol   1='HAVE THE STATE SELL BONDS TO HELP THE UT' 
                  2='LET THE UTILITIES GO BANKRUPT' 8='DK' 9='REF' ;
  VALUE engsola   1='NO DIFFERENCE AT ALL' 2='A LITTLE DIFFERENCE' 
                  3='SOME DIFFERENCE' 4='A BIG DIFFERENCE' 8='DK' 9='REF' ;
  VALUE engsolb   1='NO DIFFERENCE AT ALL' 2='A LITTLE DIFFERENCE' 
                  3='SOME DIFFERENCE' 4='A BIG DIFFERENCE' 8='DK' 9='REF' ;
  VALUE engsolc   1='NO DIFFERENCE AT ALL' 2='A LITTLE DIFFERENCE' 
                  3='SOME DIFFERENCE' 4='A BIG DIFFERENCE' 8='DK' 9='REF' ;
  VALUE engsold   1='NO DIFFERENCE AT ALL' 2='A LITTLE DIFFERENCE' 
                  3='SOME DIFFERENCE' 4='A BIG DIFFERENCE' 8='DK' 9='REF' ;
  VALUE engsole   1='NO DIFFERENCE AT ALL' 2='A LITTLE DIFFERENCE' 
                  3='SOME DIFFERENCE' 4='A BIG DIFFERENCE' 8='DK' 9='REF' ;
  VALUE engsolf   1='NO DIFFERENCE AT ALL' 2='A LITTLE DIFFERENCE' 
                  3='SOME DIFFERENCE' 4='A BIG DIFFERENCE' 8='DK' 9='REF' ;
  VALUE elecbill  1='LESS THAN $10,' 2='BETWEEN $10 AND $25,' 
                  3='BETWEEN $25 AND $50' 4='BETWEEN $50 AND $75' 
                  5='BETWEEN $75 AND $100, OR' 6='MORE THAN $100' 8='DK' 
                  9='REF' ;
  VALUE rinus     97='ALL OF LIFE' 98='DK' 99='REF' ;
  VALUE rptyid    1='DEMOCRAT' 2='REPUBLICAN' 3='OTHER PARTY' 4='INDEPENDENT' 
                  5='NO PREFERENCE' 8='DK' 9='REF' ;
  VALUE rptytids  1='NOT VERY STRONG' 5='STRONG' 8='DK' 9='REF' 99='MISSING' ;
  VALUE rindln    1='DEMOCRAT' 3='NEITHER' 5='REPUBLICAN' 8='DK' 9='REF' 
                  99='MISSING' ;
  VALUE rptysum   1='STRONG DEMOCRAT' 2='NOT VERY STRONG DEMOCRAT' 
                  3='INDEPENDENT, LEAN DEMOCRAT' 4='INDEPENDENT' 
                  5='INDEPENDENT, LEAN REPUBLICAN' 
                  6='NOT VERY STRONG REPUBLICAN' 7='STRONG REPUBLICAN' 
                  8='MINOR PARTY' 9='DK' 99='MISSING' ;
  VALUE reduc     1='DID NOT FINISH HIGH SCHOOL' 2='HIGH SCHOOL GRADUATE' 
                  3='SOME COLLEGE' 4='AA/PROFESSIONAL DEGREE' 
                  5='BACHELORS DEGREE' 6='GRADUATE DEGREE' 8='DK' 9='REF' ;
  VALUE rhshld    99='REF' ;
  VALUE rbdmnth   1='JANUARY' 2='FEBRUARY' 3='MARCH' 4='APRIL' 5='MAY' 
                  6='JUNE' 7='JULY' 8='AUGUST' 9='SEPTEMBER' 10='OCTOBER' 
                  11='NOVEMBER' 12='DECEMBER' 98='DK' 99='RF' ;
  VALUE rbdyear   8='DK' 9='REF' 9999='MISSING' ;
  VALUE ragerec   1='18-24' 2='25-34' 3='35-49' 4='50-64' 5='65 AND ABOVE' ;
  VALUE rmarsta   1='SINGLE, NEVER MARRIED' 3='MARRIED' 5='SEPARATED' 
                  6='DIVORCED' 7='OTHER' 8='DK' 9='REF' ;
  VALUE rethnic   1='WHITE OR CAUCASIAN' 2='HISPANIC OR LATINO' 
                  3='ASIAN AMERICAN' 4='AFRICAN AMERICAN' 5='OTHER' 
                  6='MIXED CATEGORY' 8='DK' 9='REF' ;
  VALUE rhispid   1='MEXICAN AMERICAN' 2='CENTRAL AMERICAN' 
                  3='SOUTH AMERICAN' 4='CUBAN AMERICAN' 5='OTHER' 8='DK' 
                  9='REF' 99='MISSING' ;
  VALUE rmexican  0='NOT MEXICAN AMERICAN' 1='MEXICAN AMERICAN' ;
  VALUE rincome   1='LESS THAN $25,000' 2='BETWEEN $25,000 AND $35,000' 
                  3='BETWEEN $35,000 AND $45,000' 
                  4='BETWEEN $45,000 AND $55,000' 
                  5='BETWEEN $55,000 AND $65,000' 
                  6='BETWEEN $65,000 AND $75,000' 
                  7='BETWEEN $75,000 AND $85,000' 
                  8='BETWEEN $85,000 AND $100,000' 9='MORE THAN $100,000' 
                  99='DK/REFUSED' ;
  VALUE rgender   1='MALE' 2='FEMALE' ;
  VALUE rregion   1='NORTH' 2='CENTRAL' 3='SOUTH' ;
RUN;

DATA IN (LABEL="The Pacific Poll 01-1");
  INFILE INDATA LRECL=129;
  INPUT
    #1  CASEID 127-129          LANGINT 1               IMPSCH 2                
        RELCONG 3               AFFHOUS 4               ENRGCON 5               
        FGTCRIM 6               NEWARPT 7               ILLIMMG 8               
        ETHNREL 9               CRTJOBS 10              HTHCARE 11              
        BEACHES 12              GROWTH 13               RELWMEX 14              
        IDSUPES 15              FVSUPES 16-17           IDDAVIS 18              
        FVDAVIS 19-20           IDSDGE 21               FVSDGE 22-23            
        IDCPUC 24               FVCPUC 25-26            IDEDSN 27               
        FVEDSN 28-29            IDFOX 30                FVFOX 31-32             
        TRSTELT 33              TRSTELX 34              TRSTPLN 35              
        TRSTBGT 36              BDRSUPP 37              BDRBEN 38               
        BDRECON 39              ENGWRRY 40              ENGRESP 41              
        ENGDEBT 42              ENGDSOL 43              ENGSOLA 44              
        ENGSOLB 45              ENGSOLC 46              ENGSOLD 47              
        ENGSOLE 48              ENGSOLF 49              ELECBILL 50             
        RINUS 51-52             RPTYID 53               RPTYTIDS 54-55          
        RINDLN 56-57            RPTYSUM 58-59           RPTYREG $60-63          
        REDUC 64                RHSHLD 65-66            RBDMNTH 67-68           
        RBDYEAR 69-72           RAGEREC 73-80           RMARSTA 81              
        RETHNIC 82              RHISPID 83-84           RMEXICAN 85             
        RINCOME 86-87           RGENDER 88              RCITY $89-110           
        RREGION 111-118         WEIGHT 119-126 .3       ;

  LABEL
   CASEID  = 'CASE ID'
   LANGINT = 'LANGUAGE OF INTERVIEW'
   IMPSCH  = 'Q1A: PRIORITY -- IMPROVING LOCAL SCHOOLS'
   RELCONG = 'Q1B: PRIORITY -- RELIEVING CONGESTION'
   AFFHOUS = 'Q1C: PRIORITY -- AFFORDABLE HOUSING'
   ENRGCON = 'Q1D: PRIORITY -- ENERGY CONSERVATION'
   FGTCRIM = 'Q1E: PRIORITY -- FIGHTING CRIME'
   NEWARPT = 'Q1F:  PRIORITY -- NEW AIRPORT'
   ILLIMMG = 'Q1G: PRIORITY -- ILLEGAL IMMIGRATION'
   ETHNREL = 'Q1H: PRIORITY -- ETHNIC RELATIONS'
   CRTJOBS = 'Q1I:  PRIORITY -- CREATE JOBS'
   HTHCARE = 'Q1J:  PRIORITY -- HEALTH CARE'
   BEACHES = 'Q1K: PRIORITY -- CLEANING BEACHES'
   GROWTH  = 'Q1L:  PRIORITY -- LIMITS ON GROWTH'
   RELWMEX = 'Q1M: PRIORITY -- RELATIONS WITH MEXICO'
   IDSUPES = 'Q2AA: ID -- BOARD OF SUPERVISORS'
   FVSUPES = 'Q2AB: FAV/UNFAV -- BOARD OF SUPERVISORS'
   IDDAVIS = 'Q2BA: ID -- GRAY DAVIS'
   FVDAVIS = 'Q2BB: FAV/UNFAV -- GRAY DAVIS'
   IDSDGE  = 'Q2CA: ID -- SDG&E'
   FVSDGE  = 'Q2CB: FAV/UNFAV -- SDG&E'
   IDCPUC  = 'Q2DA: ID -- CPUC'
   FVCPUC  = 'Q2DB: FAV/UNFAV -- CPUC'
   IDEDSN  = 'Q2EA: ID -- SOUTHERN CALIFORNIA EDISON'
   FVEDSN  = 'Q2EB: FAV/UNFAV -- EDISON'
   IDFOX   = 'Q2FA: ID -- VICENTE FOX'
   FVFOX   = 'Q2FB: FAV/UNFAV -- VICENTE FOX'
   TRSTELT = 'Q3A: TRUST SUPES -- EL TORO'
   TRSTELX = 'Q3B: TRUST SUPES -- ELECTIONS'
   TRSTPLN = 'Q3C: TRUST SUPES -- PLANNING'
   TRSTBGT = 'Q3D: TRUST SUPES -- BUDGET'
   BDRSUPP = 'Q4: OPEN BORDER -- FAV/OPP'
   BDRBEN  = 'Q5: OPEN BORDER -- WHO BENEFITS'
   BDRECON = 'Q6: OPEN BORDER -- IMPACT LOCAL'
   ENGWRRY = 'Q7: ENERGY CRISIS -- WORRIED'
   ENGRESP = 'Q8: ENERGY CRISIS -- RESPONSIBILITY'
   ENGDEBT = 'Q9: ENERGY CRISIS -- UTIL DEBT SERIOUS'
   ENGDSOL = 'Q10: ENERGY CRISIS -- DEBT SOLUTION'
   ENGSOLA = 'Q11A: ENERGY CRISIS -- RAISING RATES'
   ENGSOLB = 'Q11B: ENERGY CRISIS -- STATE CONTROL'
   ENGSOLC = 'Q11C: ENERGY CRISIS -- TAX CREDITS'
   ENGSOLD = 'Q11D: ENERGY CRISIS -- SELL STATE BONDS'
   ENGSOLE = 'Q11E: ENERGY CRISIS -- ALTERNATIVE ENERG'
   ENGSOLF = 'Q11F: ENERGY CRISIS -- HIGH END USERS'
   ELECBILL= 'D1: ELECTRICITY BILL LAST MONTH'
   RINUS   = 'D2: RS TIME IN U.S.'
   RPTYID  = 'D3: RS PARTY IDENTIFICATION'
   RPTYTIDS= 'D4: RS STRENGTH OF PARTY ID'
   RINDLN  = 'D5: INDEPENDENT LEAN'
   RPTYSUM = 'RS PARTY ID -- SUMMARY'
   RPTYREG = 'RS PARTY REGISTRATION'
   REDUC   = 'D6: RS LEVEL OF EDUCATION'
   RHSHLD  = 'D7: RS HOUSEHOLD SIZE'
   RBDMNTH = 'D8A: RS MONTH OF BIRTH'
   RBDYEAR = 'D8B: RS YEAR OF BIRTH'
   RAGEREC = 'RS AGE RECODED'
   RMARSTA = 'D9: RS MARITAL STATUS'
   RETHNIC = 'D10: RS ETHNICITY'
   RHISPID = 'D11: RS HISPANIC GROUP ID'
   RMEXICAN= 'R MEXICAN AMERICAN RECODE'
   RINCOME = 'D12: RS HOUSEHOLD INCOME'
   RGENDER = 'RS GENDER'
   RCITY   = 'RS CITY'
   RREGION = 'RS OC REGION'
   WEIGHT  = 'WEIGHT'
        ;

  FORMAT LANGINT langint. IMPSCH impsch. RELCONG relcong. 
         AFFHOUS affhous. ENRGCON enrgcon. FGTCRIM fgtcrim. 
         NEWARPT newarpt. ILLIMMG illimmg. ETHNREL ethnrel. 
         CRTJOBS crtjobs. HTHCARE hthcare. BEACHES beaches. 
         GROWTH growth. RELWMEX relwmex. IDSUPES idsupes. 
         FVSUPES fvsupes. IDDAVIS iddavis. FVDAVIS fvdavis. 
         IDSDGE idsdge. FVSDGE fvsdge. IDCPUC idcpuc. 
         FVCPUC fvcpuc. IDEDSN idedsn. FVEDSN fvedsn. 
         IDFOX idfox. FVFOX fvfox. TRSTELT trstelt. 
         TRSTELX trstelx. TRSTPLN trstpln. TRSTBGT trstbgt. 
         BDRSUPP bdrsupp. BDRBEN bdrben. BDRECON bdrecon. 
         ENGWRRY engwrry. ENGRESP engresp. ENGDEBT engdebt. 
         ENGDSOL engdsol. ENGSOLA engsola. ENGSOLB engsolb. 
         ENGSOLC engsolc. ENGSOLD engsold. ENGSOLE engsole. 
         ENGSOLF engsolf. ELECBILL elecbill. RINUS rinus. 
         RPTYID rptyid. RPTYTIDS rptytids. RINDLN rindln. 
         RPTYSUM rptysum. REDUC reduc. RHSHLD rhshld. 
         RBDMNTH rbdmnth. RBDYEAR rbdyear. RAGEREC ragerec. 
         RMARSTA rmarsta. RETHNIC rethnic. RHISPID rhispid. 
         RMEXICAN rmexican. RINCOME rincome. RGENDER rgender. 
         RREGION rregion.  ;

/* md, min and max specifications were translated  */
/* into the following "IF" statements:           */

IF (FVSUPES = 99) THEN FVSUPES = .;
IF (FVDAVIS = 99) THEN FVDAVIS = .;
IF (FVSDGE = 99) THEN FVSDGE = .;
IF (FVCPUC = 99) THEN FVCPUC = .;
IF (FVEDSN = 99) THEN FVEDSN = .;
IF (FVFOX = 99) THEN FVFOX = .;
IF (RPTYTIDS = 99) THEN RPTYTIDS = .;
IF (RINDLN = 99) THEN RINDLN = .;
IF (RPTYSUM = 99) THEN RPTYSUM = .;
IF (RBDYEAR = 9999) THEN RBDYEAR = .;
IF (RHISPID = 99) THEN RHISPID = .;

PROC DATASETS;
  CONTENTS DATA=IN POSITION;
  TITLE 'CONTENTS OF ALL VARIABLES';
RUN;
